#pragma once

#ifndef FTIPS_VECCALCULATOR_H_
#define FTIPS_VECCALCULATOR_H_

struct CvPoint;

namespace ftips {

	class VecCalculator
	{
	public:
		VecCalculator(void);
		~VecCalculator(void);

		static void GetVecSum(CvPoint *pVec1, CvPoint *pVec2, CvPoint *pVecSum);
		static double CalCosineValue(CvPoint *p, CvPoint *pBeforeK, CvPoint *pAfterK);
		static double CalCosineValue(CvPoint *vec1, CvPoint *vec2);
		static bool CalCrossProduct(CvPoint *p, CvPoint *pBeforeK, CvPoint *pAfterK);
	};

}

#endif
